package com.example.cunion.service;

import com.example.cunion.entity.Dish;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public interface DishService {
    List<HashMap> searchDishesByShopId(HashMap map);

    Integer addDish(HashMap map);

    //使用mp完成增删改查
    Integer addDish(Dish dish);
    Integer deletedDish(String dishId);
    Integer updateDish(Dish dish);
    List<Dish> searchDish(Integer start, Integer length);

}
